package com.lnking.lnkingplace.model.dto.placeType;

import com.lnking.lnkingplace.model.entity.PlaceType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class PlaceTypeTreeDto {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "类型名称")
    private String name;

    @ApiModelProperty(value = "父类ID")
    private String pId;

    @ApiModelProperty(value = "json串")
    private String info;

    @ApiModelProperty(value = "节点")
    private List<PlaceTypeTreeDto> childNode;
}
